package com.ithinks.flow.common.utils.MutiThreads.service.impl;

import com.ithinks.flow.common.utils.MutiThreads.service.AsynExcutor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @ClassName AsynService
 * @Author MR.LI
 * @date 2020.12.01 12:45
 */
@Service
public class AsynExcutorImpl implements AsynExcutor {
    private static final Logger LOGGER = LoggerFactory.getLogger(AsynExcutorImpl.class);
    @Override
    @Async("threadPoolTaskExecutor")
    public void doExcutor() {
        LOGGER.info("异步请求！");
    }
}
